package net.towee.model.account;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * User connection
 * @author c58
 */
public interface Connection extends IsSerializable {
	/**
	 * Set type of connection
	 * @param type
	 */
	void setConnectionType(ConnectionType type);
	
	/**
	 * Set value
	 */
	void setValue(String val);
	
	/**
	 * @return value of connection
	 */
	String getValue();
	
	/**
	 * @return type of connection
	 */
	ConnectionType getType();
}
